package com.weds.edpf.core.mapper;

import com.weds.core.annotation.MyBatisDao;
import com.weds.edpf.core.entity.WtDevLogEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author zcz
 * @Description 设备日志
 * @Date 2020-06-11
 */
@MyBatisDao
public interface WtDevLogMapper {
    /**
     * 新增
     * @param record
     * @return
     */
    int insert(WtDevLogEntity record);

    /**
     * 批量新增
     * @param list
     * @return
     */
    int insertBatch(@Param("list") List<WtDevLogEntity> list);

    /**
     * 条件新增
     * @param record
     * @return
     */
    int insertSelective(WtDevLogEntity record);
}